﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTM.Repository
{
    /// <summary>
    /// Interface <see cref="IUnitOfWorkProvider"/> define unit of work provider.
    /// </summary>
    public interface IUnitOfWorkProvider
    {
        #region Methods

        /// <summary>
        /// Gets the unit of work.
        /// </summary>
        /// <returns></returns>
        IUnitOfWork GetUnitOfWork();

        #endregion Methods
    }
}